#coding=utf-8
from keras.models import load_model
from keras.preprocessing import image
import numpy as np
 

model =load_model('first_try.h5')
         
img_path = 'unlabel/22.jpg'
img = image.load_img(img_path, target_size=(150, 150))
x = image.img_to_array(img)
x = np.expand_dims(x, axis=0)



#proba = model.predict_proba(x)

print model.predict_classes(x)








